<?php


class Plugin_Abstract
{
    protected $_request;
    protected $_response;
    /*
     * Request and Response
     */
    public function setRequest (Request $request) {
        $this->_request = $request;
    }
    public function request () {
        return $this->_request;
    }
    public function setResponse (Response $response) {
        $this->_response = $response;
    }
    public function response () {
        return $this->_response;
    }
    
    
    /*
     * Plugin hook entries
     */
    public function routeStartup () { }
    public function routeShutdown () { }
    public function dispatchLoopStartup () { }
    public function preDispatch () { }
    public function postDispatch () { }
    public function dispatchLoopShutdown () { }
}


